package com.wyf.reggie.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wyf.reggie.Entity.Dish;
import com.wyf.reggie.Entity.Dto.DishDto;
import org.springframework.transaction.annotation.Transactional;

public interface DishService extends IService<Dish> {

    @Transactional
    public void saveWithFlovor(DishDto dishDto);

    public DishDto getByIdWithFlavor(Long id);

    @Transactional
    public void updateWithFlavor(DishDto dishDto);
}
